var search_data = {"index":{"searchIndex":["net","smtp","address","response","smtpauthenticationerror","smtperror","smtpfatalerror","smtpserverbusy","smtpsyntaxerror","smtpunknownerror","smtpunsupportedcommand","auth_capable?()","auth_cram_md5()","auth_login()","auth_method()","auth_plain()","authenticate()","base64_encode()","capabilities()","capable?()","capable_auth_types()","capable_cram_md5_auth?()","capable_login_auth?()","capable_plain_auth?()","capable_starttls?()","check_auth_args()","check_auth_continue()","check_auth_method()","check_auth_response()","check_continue()","check_response()","continue?()","cram_md5_challenge()","cram_md5_response()","cram_secret()","critical()","data()","debug_output=()","default_port()","default_ssl_context()","default_ssl_port()","default_submission_port()","default_tls_port()","digest_class()","disable_ssl()","disable_starttls()","disable_tls()","do_finish()","do_helo()","do_start()","ehlo()","enable_ssl()","enable_starttls()","enable_starttls_auto()","enable_tls()","exception_class()","finish()","get_response()","getok()","helo()","inspect()","logging()","mailfrom()","message()","message()","new()","new()","new()","new()","new_internet_message_io()","open_message_stream()","parse()","quit()","rcptto()","rcptto_list()","read_timeout=()","ready()","recv_response()","rset()","send_mail()","send_message()","sendmail()","set_debug_output()","ssl?()","ssl_socket()","start()","start()","started?()","starttls()","starttls?()","starttls_always?()","starttls_auto?()","status_type_char()","success?()","tcp_socket()","tls?()","tlsconnect()","to_s()","validate_line()"],"longSearchIndex":["net","net::smtp","net::smtp::address","net::smtp::response","net::smtpauthenticationerror","net::smtperror","net::smtpfatalerror","net::smtpserverbusy","net::smtpsyntaxerror","net::smtpunknownerror","net::smtpunsupportedcommand","net::smtp#auth_capable?()","net::smtp#auth_cram_md5()","net::smtp#auth_login()","net::smtp#auth_method()","net::smtp#auth_plain()","net::smtp#authenticate()","net::smtp#base64_encode()","net::smtp::response#capabilities()","net::smtp#capable?()","net::smtp#capable_auth_types()","net::smtp#capable_cram_md5_auth?()","net::smtp#capable_login_auth?()","net::smtp#capable_plain_auth?()","net::smtp#capable_starttls?()","net::smtp#check_auth_args()","net::smtp#check_auth_continue()","net::smtp#check_auth_method()","net::smtp#check_auth_response()","net::smtp#check_continue()","net::smtp#check_response()","net::smtp::response#continue?()","net::smtp::response#cram_md5_challenge()","net::smtp#cram_md5_response()","net::smtp#cram_secret()","net::smtp#critical()","net::smtp#data()","net::smtp#debug_output=()","net::smtp::default_port()","net::smtp::default_ssl_context()","net::smtp::default_ssl_port()","net::smtp::default_submission_port()","net::smtp::default_tls_port()","net::smtp#digest_class()","net::smtp#disable_ssl()","net::smtp#disable_starttls()","net::smtp#disable_tls()","net::smtp#do_finish()","net::smtp#do_helo()","net::smtp#do_start()","net::smtp#ehlo()","net::smtp#enable_ssl()","net::smtp#enable_starttls()","net::smtp#enable_starttls_auto()","net::smtp#enable_tls()","net::smtp::response#exception_class()","net::smtp#finish()","net::smtp#get_response()","net::smtp#getok()","net::smtp#helo()","net::smtp#inspect()","net::smtp#logging()","net::smtp#mailfrom()","net::smtp::response#message()","net::smtperror#message()","net::smtp::new()","net::smtp::address::new()","net::smtp::response::new()","net::smtperror::new()","net::smtp#new_internet_message_io()","net::smtp#open_message_stream()","net::smtp::response::parse()","net::smtp#quit()","net::smtp#rcptto()","net::smtp#rcptto_list()","net::smtp#read_timeout=()","net::smtp#ready()","net::smtp#recv_response()","net::smtp#rset()","net::smtp#send_mail()","net::smtp#send_message()","net::smtp#sendmail()","net::smtp#set_debug_output()","net::smtp#ssl?()","net::smtp#ssl_socket()","net::smtp::start()","net::smtp#start()","net::smtp#started?()","net::smtp#starttls()","net::smtp#starttls?()","net::smtp#starttls_always?()","net::smtp#starttls_auto?()","net::smtp::response#status_type_char()","net::smtp::response#success?()","net::smtp#tcp_socket()","net::smtp#tls?()","net::smtp#tlsconnect()","net::smtp::address#to_s()","net::smtp#validate_line()"],"info":[["Net","","Net.html","",""],["Net::SMTP","","Net/SMTP.html","","<p>What is This Library?\n<p>This library provides functionality to send internet mail via SMTP, the Simple  …\n"],["Net::SMTP::Address","","Net/SMTP/Address.html","","<p>Address with parametres for MAIL or RCPT command\n"],["Net::SMTP::Response","","Net/SMTP/Response.html","","<p>This class represents a response received by the SMTP server. Instances of this class are created by …\n"],["Net::SMTPAuthenticationError","","Net/SMTPAuthenticationError.html","","<p>Represents an SMTP authentication error.\n"],["Net::SMTPError","","Net/SMTPError.html","","<p>Module mixed in to all SMTP error classes\n"],["Net::SMTPFatalError","","Net/SMTPFatalError.html","","<p>Represents a fatal SMTP error (error code 5xx, except for 500)\n"],["Net::SMTPServerBusy","","Net/SMTPServerBusy.html","","<p>Represents SMTP error code 4xx, a temporary error.\n"],["Net::SMTPSyntaxError","","Net/SMTPSyntaxError.html","","<p>Represents an SMTP command syntax error (error code 500)\n"],["Net::SMTPUnknownError","","Net/SMTPUnknownError.html","","<p>Unexpected reply code returned from server.\n"],["Net::SMTPUnsupportedCommand","","Net/SMTPUnsupportedCommand.html","","<p>Command is not supported on server.\n"],["auth_capable?","Net::SMTP","Net/SMTP.html#method-i-auth_capable-3F","(type)",""],["auth_cram_md5","Net::SMTP","Net/SMTP.html#method-i-auth_cram_md5","(user, secret)",""],["auth_login","Net::SMTP","Net/SMTP.html#method-i-auth_login","(user, secret)",""],["auth_method","Net::SMTP","Net/SMTP.html#method-i-auth_method","(type)",""],["auth_plain","Net::SMTP","Net/SMTP.html#method-i-auth_plain","(user, secret)",""],["authenticate","Net::SMTP","Net/SMTP.html#method-i-authenticate","(user, secret, authtype = DEFAULT_AUTH_TYPE)",""],["base64_encode","Net::SMTP","Net/SMTP.html#method-i-base64_encode","(str)",""],["capabilities","Net::SMTP::Response","Net/SMTP/Response.html#method-i-capabilities","()","<p>Returns a hash of the human readable reply text in the response if it is multiple lines. It does not …\n"],["capable?","Net::SMTP","Net/SMTP.html#method-i-capable-3F","(key)","<p>true if the EHLO response contains <code>key</code>.\n"],["capable_auth_types","Net::SMTP","Net/SMTP.html#method-i-capable_auth_types","()","<p>Returns supported authentication methods on this server. You cannot get valid value before opening SMTP …\n"],["capable_cram_md5_auth?","Net::SMTP","Net/SMTP.html#method-i-capable_cram_md5_auth-3F","()","<p>true if server advertises AUTH CRAM-MD5. You cannot get valid value before opening SMTP session.\n"],["capable_login_auth?","Net::SMTP","Net/SMTP.html#method-i-capable_login_auth-3F","()","<p>true if server advertises AUTH LOGIN. You cannot get valid value before opening SMTP session.\n"],["capable_plain_auth?","Net::SMTP","Net/SMTP.html#method-i-capable_plain_auth-3F","()","<p>true if server advertises AUTH PLAIN. You cannot get valid value before opening SMTP session.\n"],["capable_starttls?","Net::SMTP","Net/SMTP.html#method-i-capable_starttls-3F","()","<p>true if server advertises STARTTLS. You cannot get valid value before opening SMTP session.\n"],["check_auth_args","Net::SMTP","Net/SMTP.html#method-i-check_auth_args","(user, secret, authtype = DEFAULT_AUTH_TYPE)",""],["check_auth_continue","Net::SMTP","Net/SMTP.html#method-i-check_auth_continue","(res)",""],["check_auth_method","Net::SMTP","Net/SMTP.html#method-i-check_auth_method","(type)",""],["check_auth_response","Net::SMTP","Net/SMTP.html#method-i-check_auth_response","(res)",""],["check_continue","Net::SMTP","Net/SMTP.html#method-i-check_continue","(res)",""],["check_response","Net::SMTP","Net/SMTP.html#method-i-check_response","(res)",""],["continue?","Net::SMTP::Response","Net/SMTP/Response.html#method-i-continue-3F","()","<p>Determines whether the response received was a Positive Intermediate reply (3xx reply code)\n"],["cram_md5_challenge","Net::SMTP::Response","Net/SMTP/Response.html#method-i-cram_md5_challenge","()","<p>Creates a CRAM-MD5 challenge. You can view more information on CRAM-MD5 on Wikipedia: en.wikipedia.org/wiki/CRAM-MD5 …\n"],["cram_md5_response","Net::SMTP","Net/SMTP.html#method-i-cram_md5_response","(secret, challenge)","<p>CRAM-MD5: [RFC2195]\n"],["cram_secret","Net::SMTP","Net/SMTP.html#method-i-cram_secret","(secret, mask)",""],["critical","Net::SMTP","Net/SMTP.html#method-i-critical","()",""],["data","Net::SMTP","Net/SMTP.html#method-i-data","(msgstr = nil)","<p>This method sends a message. If <code>msgstr</code> is given, sends it as a message. If block is given, yield a message …\n"],["debug_output=","Net::SMTP","Net/SMTP.html#method-i-debug_output-3D","(arg)","<p>WARNING: This method causes serious security holes. Use this method for only debugging.\n<p>Set an output …\n"],["default_port","Net::SMTP","Net/SMTP.html#method-c-default_port","()","<p>The default SMTP port number, 25.\n"],["default_ssl_context","Net::SMTP","Net/SMTP.html#method-c-default_ssl_context","(ssl_context_params = nil)",""],["default_ssl_port","Net::SMTP","Net/SMTP.html#method-c-default_ssl_port","()",""],["default_submission_port","Net::SMTP","Net/SMTP.html#method-c-default_submission_port","()","<p>The default mail submission port number, 587.\n"],["default_tls_port","Net::SMTP","Net/SMTP.html#method-c-default_tls_port","()","<p>The default SMTPS port number, 465.\n"],["digest_class","Net::SMTP","Net/SMTP.html#method-i-digest_class","()",""],["disable_ssl","Net::SMTP","Net/SMTP.html#method-i-disable_ssl","()",""],["disable_starttls","Net::SMTP","Net/SMTP.html#method-i-disable_starttls","()","<p>Disables SMTP/TLS (STARTTLS) for this object.  Must be called before the connection is established to …\n"],["disable_tls","Net::SMTP","Net/SMTP.html#method-i-disable_tls","()","<p>Disables SMTP/TLS for this object.  Must be called before the connection is established to have any effect. …\n"],["do_finish","Net::SMTP","Net/SMTP.html#method-i-do_finish","()",""],["do_helo","Net::SMTP","Net/SMTP.html#method-i-do_helo","(helo_domain)",""],["do_start","Net::SMTP","Net/SMTP.html#method-i-do_start","(helo_domain, user, secret, authtype)",""],["ehlo","Net::SMTP","Net/SMTP.html#method-i-ehlo","(domain)",""],["enable_ssl","Net::SMTP","Net/SMTP.html#method-i-enable_ssl","(context = nil)",""],["enable_starttls","Net::SMTP","Net/SMTP.html#method-i-enable_starttls","(context = nil)","<p>Enables SMTP/TLS (STARTTLS) for this object. <code>context</code> is a OpenSSL::SSL::SSLContext object.\n"],["enable_starttls_auto","Net::SMTP","Net/SMTP.html#method-i-enable_starttls_auto","(context = nil)","<p>Enables SMTP/TLS (STARTTLS) for this object if server accepts. <code>context</code> is a OpenSSL::SSL::SSLContext …\n"],["enable_tls","Net::SMTP","Net/SMTP.html#method-i-enable_tls","(context = nil)","<p>Enables SMTP/TLS (SMTPS: SMTP over direct TLS connection) for this object.  Must be called before the …\n"],["exception_class","Net::SMTP::Response","Net/SMTP/Response.html#method-i-exception_class","()","<p>Determines whether there was an error and raises the appropriate error based on the reply code of the …\n"],["finish","Net::SMTP","Net/SMTP.html#method-i-finish","()","<p>Finishes the SMTP session and closes TCP connection. Raises IOError if not started.\n"],["get_response","Net::SMTP","Net/SMTP.html#method-i-get_response","(reqline)",""],["getok","Net::SMTP","Net/SMTP.html#method-i-getok","(reqline)",""],["helo","Net::SMTP","Net/SMTP.html#method-i-helo","(domain)",""],["inspect","Net::SMTP","Net/SMTP.html#method-i-inspect","()","<p>Provide human-readable stringification of class state.\n"],["logging","Net::SMTP","Net/SMTP.html#method-i-logging","(msg)",""],["mailfrom","Net::SMTP","Net/SMTP.html#method-i-mailfrom","(from_addr)","<p><code>from_addr</code> is <code>String</code> or <code>Net::SMTP::Address</code>\n"],["message","Net::SMTP::Response","Net/SMTP/Response.html#method-i-message","()","<p>The first line of the human readable reply text\n"],["message","Net::SMTPError","Net/SMTPError.html#method-i-message","()",""],["new","Net::SMTP","Net/SMTP.html#method-c-new","(address, port = nil, tls: false, starttls: :auto, tls_verify: true, tls_hostname: nil, ssl_context_params: nil)","<p>Creates a new Net::SMTP object.\n<p><code>address</code> is the hostname or ip address of your SMTP server.  <code>port</code> is the …\n"],["new","Net::SMTP::Address","Net/SMTP/Address.html#method-c-new","(address, *args, **kw_args)","<p>address <code>String</code> or <code>Net::SMTP::Address</code> parameter <code>String</code> or <code>Hash</code>\n"],["new","Net::SMTP::Response","Net/SMTP/Response.html#method-c-new","(status, string)","<p>Creates a new instance of the Response class and sets the status and string attributes\n"],["new","Net::SMTPError","Net/SMTPError.html#method-c-new","(response, message: nil)",""],["new_internet_message_io","Net::SMTP","Net/SMTP.html#method-i-new_internet_message_io","(s)",""],["open_message_stream","Net::SMTP","Net/SMTP.html#method-i-open_message_stream","(from_addr, *to_addrs)","<p>Opens a message writer stream and gives it to the block. The stream is valid only in the block, and has …\n"],["parse","Net::SMTP::Response","Net/SMTP/Response.html#method-c-parse","(str)","<p>Parses the received response and separates the reply code and the human readable reply text\n"],["quit","Net::SMTP","Net/SMTP.html#method-i-quit","()",""],["rcptto","Net::SMTP","Net/SMTP.html#method-i-rcptto","(to_addr)","<p><code>to_addr</code> is <code>String</code> or <code>Net::SMTP::Address</code>\n"],["rcptto_list","Net::SMTP","Net/SMTP.html#method-i-rcptto_list","(to_addrs)",""],["read_timeout=","Net::SMTP","Net/SMTP.html#method-i-read_timeout-3D","(sec)","<p>Set the number of seconds to wait until timing-out a read(2) call.\n"],["ready","Net::SMTP","Net/SMTP.html#method-i-ready","(from_addr, *to_addrs)",""],["recv_response","Net::SMTP","Net/SMTP.html#method-i-recv_response","()",""],["rset","Net::SMTP","Net/SMTP.html#method-i-rset","()","<p>Aborts the current mail transaction\n"],["send_mail","Net::SMTP","Net/SMTP.html#method-i-send_mail","(msgstr, from_addr, *to_addrs)",""],["send_message","Net::SMTP","Net/SMTP.html#method-i-send_message","(msgstr, from_addr, *to_addrs)","<p>Sends <code>msgstr</code> as a message.  Single CR (“r”) and LF (“n”) found in the <code>msgstr</code>, are …\n"],["sendmail","Net::SMTP","Net/SMTP.html#method-i-sendmail","(msgstr, from_addr, *to_addrs)",""],["set_debug_output","Net::SMTP","Net/SMTP.html#method-i-set_debug_output","(arg)",""],["ssl?","Net::SMTP","Net/SMTP.html#method-i-ssl-3F","()",""],["ssl_socket","Net::SMTP","Net/SMTP.html#method-i-ssl_socket","(socket, context)",""],["start","Net::SMTP","Net/SMTP.html#method-c-start","(address, port = nil, *args, helo: nil, user: nil, secret: nil, password: nil, authtype: nil, tls: false, starttls: :auto, tls_verify: true, tls_hostname: nil, ssl_context_params: nil, &block)","<p>Creates a new Net::SMTP object and connects to the server.\n<p>This method is equivalent to:\n\n<pre>Net::SMTP.new(address, ...</pre>\n"],["start","Net::SMTP","Net/SMTP.html#method-i-start","(*args, helo: nil, user: nil, secret: nil, password: nil, authtype: nil)","<p>Opens a TCP connection and starts the SMTP session.\n<p>Parameters\n<p><code>helo</code> is the <em>HELO</em> <em>domain</em> that you’ll …\n"],["started?","Net::SMTP","Net/SMTP.html#method-i-started-3F","()","<p><code>true</code> if the SMTP session has been started.\n"],["starttls","Net::SMTP","Net/SMTP.html#method-i-starttls","()",""],["starttls?","Net::SMTP","Net/SMTP.html#method-i-starttls-3F","()","<p>Returns truth value if this object uses STARTTLS. If this object always uses STARTTLS, returns :always. …\n"],["starttls_always?","Net::SMTP","Net/SMTP.html#method-i-starttls_always-3F","()","<p>true if this object uses STARTTLS.\n"],["starttls_auto?","Net::SMTP","Net/SMTP.html#method-i-starttls_auto-3F","()","<p>true if this object uses STARTTLS when server advertises STARTTLS.\n"],["status_type_char","Net::SMTP::Response","Net/SMTP/Response.html#method-i-status_type_char","()","<p>Takes the first digit of the reply code to determine the status type\n"],["success?","Net::SMTP::Response","Net/SMTP/Response.html#method-i-success-3F","()","<p>Determines whether the response received was a Positive Completion reply (2xx reply code)\n"],["tcp_socket","Net::SMTP","Net/SMTP.html#method-i-tcp_socket","(address, port)",""],["tls?","Net::SMTP","Net/SMTP.html#method-i-tls-3F","()","<p>true if this object uses SMTP/TLS (SMTPS).\n"],["tlsconnect","Net::SMTP","Net/SMTP.html#method-i-tlsconnect","(s, context)",""],["to_s","Net::SMTP::Address","Net/SMTP/Address.html#method-i-to_s","()",""],["validate_line","Net::SMTP","Net/SMTP.html#method-i-validate_line","(line)",""]]}}